import {
	RECORD_USERINFO
} from './mutation-types.js'
import {
	setStore,
	getStore
} from '../config/mUtils'
export default {
	[RECORD_USERINFO](state, userInfo) {
			setStore('username',userInfo.account) 
			setStore('SupplierId',userInfo.id)
			setStore('name',userInfo.name)
			setStore('scopeBusinessNames',userInfo.scopeBusinessNames)
			setStore('hanSui',userInfo.isHanshui)
			setStore('tranType',userInfo.tranType)
	}
}
